package com.jprocms.module.cms.controller.admin.accesspage.vo;

import com.jpro.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;

@Schema(description = "管理后台 - 统计查询 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class AccessStatReqVO extends PageParam {

    @Schema(description = "站点ID", example = "17026")
    private Long siteId;

    @Schema(description = "统计日期(yyyyMMdd)")
    @DateTimeFormat(iso = DateTimeFormat.ISO.DATE)
    private LocalDate[] dateString;


    @Schema(description = "统计日期开始时间(yyyyMMdd)")
    private String dateStringBegin;

    @Schema(description = "统计日期结束时间(yyyyMMdd)")
    private String dateStringEnd;

}
